#pragma once
#include "StopWatch.h"

class GameTimer
{
public:
	GameTimer(void (*calcMethod)(), void (*drawMethod)(), int fps);
	~GameTimer(void);

	void Start();
	void Stop();
	bool Check();
private:
	void (*_calculationMethod)();
	void (*_drawMethod)();
	int _mspf;
	bool _enabled;
	LONGLONG _freq;
	LONGLONG _standard;
};

